package com.sxj.corejava.code14_设计模式;

/**
 * @author 石小俊
 */
public class Test02 {

    public static void main(String[] args) {
        OtherBean otherBean = OtherBean.getInstance();
        OtherBean otherBean2 = OtherBean.getInstance();
        System.out.println(otherBean == otherBean2);
    }

}
